package com.mybatis.plugin.test.model;

import java.sql.Timestamp;
import java.util.List;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.OneToMany;
import javax.persistence.Table;

@Table(name="tms_package_outbound_header")
public class TmsPackageOutboundHeader {

	@Id
	@Column(name="id", unique=true )
	private int id;

	@Column(name="box_id" , length=80)
	private String boxId;

	@Column(name="create_time" )
	private Timestamp createTime;

	@Column(name="cust_code" , length=30)
	private String custCode;

	@Column(name="dimension_um" , length=20)
	private String dimensionUm;

	@Column(name="height",nullable=false, precision=10, scale=4)
	private Double height;

	@Column(name="length" , precision=10, scale=4)
	private Double length;

	@Column(name="order_sn" , length=50)
	private String orderSn;

	@Column(name="order_source" , length=20)
	private String orderSource;

	@Column(name="out_time" , length=50)
	private String outTime;

	@Column(name="sys_id" , length=50)
	private String sysId;

	@Column(name="transport_no" , length=30)
	private String transportNo;


	@Column(name="volume",nullable=false, precision=10, scale=4)
	private Double volume;

	@Column(name="volume_um" , length=20)
	private String volumeUm;

	@Column(name="warehouse",nullable=false, length=50)
	private String warehouse;

	@Column(name="weight",nullable=false, precision=10, scale=4)
	private Double weight;

	@Column(name="weight_um" , length=50)
	private String weightUm;

	@Column(nullable=false, precision=10, scale=4)
	private Double width;
	
	@Column(name="work_id" , length=50)
	private Long workId;

	@OneToMany
	private List<TmsPackageOutboundDetail> ospTmsPackageOutboundDetails;

	public Long getWorkId() {
		return workId;
	}

	public void setWorkId(Long workId) {
		this.workId = workId;
	}

	public TmsPackageOutboundHeader() {
	}

	public int getId() {
		return this.id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getBoxId() {
		return this.boxId;
	}

	public void setBoxId(String boxId) {
		this.boxId = boxId;
	}

	public Timestamp getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Timestamp createTime) {
		this.createTime = createTime;
	}

	public String getCustCode() {
		return this.custCode;
	}

	public void setCustCode(String custCode) {
		this.custCode = custCode;
	}

	public String getDimensionUm() {
		return this.dimensionUm;
	}

	public void setDimensionUm(String dimensionUm) {
		this.dimensionUm = dimensionUm;
	}

	public Double getHeight() {
		return this.height;
	}

	public void setHeight(Double height) {
		this.height = height;
	}

	public Double getLength() {
		return this.length;
	}

	public void setLength(Double length) {
		this.length = length;
	}

	public String getOrderSn() {
		return this.orderSn;
	}

	public void setOrderSn(String orderSn) {
		this.orderSn = orderSn;
	}

	public String getOrderSource() {
		return this.orderSource;
	}

	public void setOrderSource(String orderSource) {
		this.orderSource = orderSource;
	}

	public String getOutTime() {
		return this.outTime;
	}

	public void setOutTime(String outTime) {
		this.outTime = outTime;
	}

	public String getSysId() {
		return this.sysId;
	}

	public void setSysId(String sysId) {
		this.sysId = sysId;
	}

	public String getTransportNo() {
		return this.transportNo;
	}

	public void setTransportNo(String transportNo) {
		this.transportNo = transportNo;
	}

	public Double getVolume() {
		return this.volume;
	}

	public void setVolume(Double volume) {
		this.volume = volume;
	}

	public String getVolumeUm() {
		return this.volumeUm;
	}

	public void setVolumeUm(String volumeUm) {
		this.volumeUm = volumeUm;
	}

	public String getWarehouse() {
		return this.warehouse;
	}

	public void setWarehouse(String warehouse) {
		this.warehouse = warehouse;
	}

	public Double getWeight() {
		return this.weight;
	}

	public void setWeight(Double weight) {
		this.weight = weight;
	}

	public String getWeightUm() {
		return this.weightUm;
	}

	public void setWeightUm(String weightUm) {
		this.weightUm = weightUm;
	}

	public Double getWidth() {
		return this.width;
	}

	public void setWidth(Double width) {
		this.width = width;
	}

	public List<TmsPackageOutboundDetail> getOspTmsPackageOutboundDetails() {
		return this.ospTmsPackageOutboundDetails;
	}

	public void setOspTmsPackageOutboundDetails(List<TmsPackageOutboundDetail> ospTmsPackageOutboundDetails) {
		this.ospTmsPackageOutboundDetails = ospTmsPackageOutboundDetails;
	}
}